package com.erp.erp_entitys.warehouse.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 仓库管理-资源样品主表(ResourceSamples)实体类
 *
 * @author lst
 * @since 2020-11-28 15:17:06
 */
public class ResourceSamplesEntity implements Serializable {
    private static final long serialVersionUID = -63282011220988488L;
    /**
    * 主键id
    */
    private Integer id;
    /**
    * 单号
    */
    private String billNo;
    /**
    * 资源仓库编号
    */
    private String warehouseId;
    /**
    * 资源仓库名称
    */
    private String warehouseName;
    /**
    * 客户编码
    */
    private String customerCode;
    /**
    * 客户名称
    */
    private String customerName;
    /**
    * 操作人
    */
    private String operator;
    /**
    * 操作人编码
    */
    private String operationNo;
    /**
    * 业务类型(1:登记 2:领出)
    */
    private Integer type;
    /**
    * 备注
    */
    private String memo;
    /**
    * 创建时间
    */
    private Date createDate;
    /**
    * 修改时间
    */
    private Date modifyTime;
    /**
    * 状态(1.草稿箱 2.待批箱 3.已批箱 4.完成箱 5.垃圾箱)
    */
    private Integer status;
    /**
    * 是否有效(0:无效 1:有效)
    */
    private Integer valid;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBillNo() {
        return billNo;
    }

    public void setBillNo(String billNo) {
        this.billNo = billNo;
    }

    public String getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(String warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public String getCustomerCode() {
        return customerCode;
    }

    public void setCustomerCode(String customerCode) {
        this.customerCode = customerCode;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getOperationNo() {
        return operationNo;
    }

    public void setOperationNo(String operationNo) {
        this.operationNo = operationNo;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getValid() {
        return valid;
    }

    public void setValid(Integer valid) {
        this.valid = valid;
    }


    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("ResourceSamplesEntity").append('[')
                .append("id=")
                .append(id)
                .append(",billNo=")
                .append(billNo)
                .append(",warehouseId=")
                .append(warehouseId)
                .append(",warehouseName=")
                .append(warehouseName)
                .append(",customerCode=")
                .append(customerCode)
                .append(",customerName=")
                .append(customerName)
                .append(",operator=")
                .append(operator)
                .append(",operationNo=")
                .append(operationNo)
                .append(",type=")
                .append(type)
                .append(",memo=")
                .append(memo)
                .append(",createDate=")
                .append(createDate)
                .append(",modifyTime=")
                .append(modifyTime)
                .append(",status=")
                .append(status)
                .append(",valid=")
                .append(valid)
                .append(']');
        return sb.toString();
    }
}